package com.example.feign;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@org.springframework.cloud.openfeign.FeignClient(name = "EUREKA-CLIENT",fallback = FeignClientFallbackFactory.class)
public interface FeignClient {
    @RequestMapping(method = RequestMethod.GET,value = "test")
    String hello();
}
